package com.lyfx.ly.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lyfx.common.utils.PageUtils;
import com.lyfx.ly.entity.ClassCourseCategoryEntity;
import com.lyfx.ly.entity.ClassCourseEntity;

import java.util.List;
import java.util.Map;

/**
 * **课程表和课程分类的关联表
 *
 * @author lsy
 * @email lsy@gmail.com
 * @date 2020-07-05 18:03:59
 */
public interface ClassCourseCategoryService extends IService<ClassCourseCategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveDetail(ClassCourseCategoryEntity classCourseCategory);

    void updateCourse(Long courseId, String name);

    void updateCategory(Long catId, String name);

    List<ClassCourseEntity> getCoursesByCatId(Long catId);

    PageUtils queryPageInfo(Map<String, Object> params);

}

